2023-12-03

Assignment Instructions

  • Create a web page presentation using R Markdown that features a plot created with Plotly.
  • Host your webpage on either GitHub Pages, RPubs, or NeoCities.
  • Your webpage must contain the date that you created the document, and it must contain a plot created with Plotly.
  • We would love to see you show off your creativity!

Motivation

For this project, I chose to continue with the “Pittsburgh Trees” data set I examined in my project for creating a leaflet map in week two of this course. The dataset includes information on interesting variables such as tree condition, height, total pounds of air quality benefits and more that have relationships that can be explored with the aid of a plotly graph.

Data Import

  • Data was downloaded from Western PA Regional Data Center.
  • Data cleaning applied was to remove dead, stump, NA condition trees and assign the condition variable to be a factor with levels Excellent, Fair, Good, Poor, and Critical

Plotly Histogram

Plotly Histogram

Convert ggplot object to plotly